package com.example.teststarter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@MapperScan("com.example.teststarter.mapper")
@RestController
public class StarterApplication {

    public static void main(String[] args) {
        SpringApplication.run(StarterApplication.class, args);
    }
/*
	@Autowired
	private AuthorServer authorServer;

	@RequestMapping("/author")
	String home() {
		return "发布者："+ authorServer.getAuthor();
	}
	*/
}
